package com.lnking.lnkingplace.model.dto.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lnking.lnkingplace.model.enums.UserType;
import com.lnking.starter.export.annotation.ExcelColumn;
import com.lnking.starter.export.annotation.TableColumn;
import lombok.Data;

import java.time.LocalDate;

/**
 * @program: lnking-place
 * @description:
 * @author: LDQ
 * @create: 2022-08-24 17:34
 **/
@Data
public class UserImportDto {

    @ExcelColumn(columnIndex = "0", columnName = "姓名")
    private String name;

    @ExcelColumn(columnIndex = "1", columnName = "身份证号码")
    private String idCard;

    @ExcelColumn(columnIndex = "2", columnName = "手机号码")
    private String phone;

    /**
     * 类型
     */
    private String type= UserType.USER;



    @ExcelColumn(columnIndex = "3", columnName = "店招名称")
    private String shopSign;

    /**
     * 性别
     */

    @ExcelColumn(columnIndex = "4", columnName = "工作单位名称")
    private String placeName;


    @ExcelColumn(columnIndex = "5", columnName = "统一社会信用代码")
    private String businessLicenseNo;

    /**
     * 现居地址
     */
//    @TableField("address")
//    @ExcelColumn(columnIndex = "6", columnName = "工作地所在区（市）县")
//    private String address;

    /**
     * 入职时间
     */
    @ExcelColumn(columnIndex = "7", columnName = "工作地所在镇/街道")
    private String street;



    /**
     * 学历
     */
    @TableField("education")
    @ExcelColumn(columnIndex = "8", columnName = "工作详细地址")
    private String address;

    /**
     * 紧急联系人：联系方式
     */
    @ExcelColumn(columnIndex = "10", columnName = "类型")
    private String placeType;


}
